﻿using System.ComponentModel.DataAnnotations;
using Yz.Base;

namespace Yz.Model.Entities
{
    /// <summary>
    /// 公司信息
    /// </summary>
    public class Company : UpdateEntity
    {
        /// <summary>
        /// 公司名称
        /// </summary>
        [MaxLength(100)]
        public string Name { get; set; }
        /// <summary>
        /// 管理员账号
        /// </summary>
        [MaxLength(50)]
        public string AdminName { get; set; }
        /// <summary>
        /// 是否禁用
        /// </summary>
        public StatusType StatusType { get; set; } = StatusType.Enable;
        /// <summary>
        /// 备注
        /// </summary>
        [MaxLength(50)]
        public string Remark { get; set; } = "";
    }
}
